导航菜单
首页 >  vbnet chart 三维  > 3D point and line charts

3D point and line charts

3D point plots

BinderScriptNotebook

Summary: This example shows how to create three-dimensional point and line charts in F#.

Point3D, Line3D, and Bubble3D charts are all derived from Chart.Scatter3D and can be generated by that function, as well.However, Chart.Point3D, Chart.Line3D, or Chart.Bubble3D provide sensible defaults and arguments for the respective derived chart, and are recommended to use.

3D point chartopen Plotly.NETlet point3d =Chart.Point3D(xyz = [ 1, 3, 2; 6, 5, 4; 7, 9, 8 ],MultiText = [ "A"; "B"; "C" ],TextPosition = StyleParam.TextPosition.BottomCenter)|> Chart.withXAxisStyle ("my x-axis", Id = StyleParam.SubPlotId.Scene 1) // in contrast to 2D plots, x and y axes of 3D charts have to be set via the scene object|> Chart.withYAxisStyle ("my y-axis", Id = StyleParam.SubPlotId.Scene 1) // in contrast to 2D plots, x and y axes of 3D charts have to be set via the scene object|> Chart.withZAxisStyle ("my z-axis")|> Chart.withSize (800., 800.)3D point chart with marker colorscalelet point3d2 =Chart.Point3D(xyz = [ 1, 3, 2; 6, 5, 4; 7, 9, 8 ],MarkerColor = Color.fromColorScaleValues [ 0; 1; 2 ],MultiText = [ "A"; "B"; "C" ],TextPosition = StyleParam.TextPosition.BottomCenter)3D Line chartlet line3d =Chart.Line3D(xyz = [ 1, 3, 2; 6, 5, 4; 7, 9, 8 ],MultiText = [ "A"; "B"; "C" ],TextPosition = StyleParam.TextPosition.BottomCenter,ShowMarkers = true)3D line chart with line colorscalelet line3d2 =Chart.Line3D(xyz = [ 1, 3, 2; 6, 5, 4; 7, 9, 8 ],MultiText = [ "A"; "B"; "C" ],TextPosition = StyleParam.TextPosition.BottomCenter,ShowMarkers = true,LineColor = Color.fromColorScaleValues [ 0; 1; 2 ],LineWidth = 10.)3D Bubble plotslet bubble3d =Chart.Bubble3D(xyz = [ 1, 3, 2; 6, 5, 4; 7, 9, 8 ],sizes = [ 10; 20; 30 ],MultiText = [ "A"; "B"; "C" ],TextPosition = StyleParam.TextPosition.BottomCenter)3D bubble chart with colorscalelet bubble3d2 =Chart.Bubble3D(xyz = [ 1, 3, 2; 6, 5, 4; 7, 9, 8 ],sizes = [ 10; 20; 30 ],MultiText = [ "A"; "B"; "C" ],TextPosition = StyleParam.TextPosition.BottomCenter,MarkerColor = Color.fromColorScaleValues [ 0; 1; 2 ],MarkerColorScale = StyleParam.Colorscale.Viridis)namespace Plotlynamespace Plotly.NETmodule Defaultsfrom Plotly.NET Contains mutable global default values. Changing these values will apply the default values to all consecutive Chart generations.val mutable DefaultDisplayOptions: DisplayOptionsMultiple itemstype DisplayOptions = inherit DynamicObj new: unit -> DisplayOptions static member addAdditionalHeadTags: additionalHeadTags: XmlNode list -> (DisplayOptions -> DisplayOptions) static member addChartDescription: description: XmlNode list -> (DisplayOptions -> DisplayOptions) static member combine: first: DisplayOptions -> second: DisplayOptions -> DisplayOptions static member getAdditionalHeadTags: displayOpts: DisplayOptions -> XmlNode list static member getChartDescription: displayOpts: DisplayOptions -> XmlNode list static member getDocumentCharset: displayOpts: DisplayOptions -> string static member getDocumentDescription: displayOpts: DisplayOptions -> string static member getDocumentFavicon: displayOpts: DisplayOptions -> XmlNode ...--------------------new: unit -> DisplayOptionsstatic member DisplayOptions.init: [ obj))>] ?DocumentTitle: string * [ obj))>] ?DocumentCharset: string * [ obj))>] ?DocumentDescription: string * [ obj))>] ?DocumentFavicon: Giraffe.ViewEngine.HtmlElements.XmlNode * [ obj))>] ?AdditionalHeadTags: Giraffe.ViewEngine.HtmlElements.XmlNode list * [ obj))>] ?ChartDescription: Giraffe.ViewEngine.HtmlElements.XmlNode list * [ obj))>] ?PlotlyJSReference: PlotlyJSReference -> DisplayOptionstype PlotlyJSReference = | CDN of string | Full | Require of string | NoReferenceSets how plotly is referenced in the head of html docs.union case PlotlyJSReference.NoReference: PlotlyJSReferenceval point3d: GenericCharttype Chart = static member AnnotatedHeatmap: zData: #('b seq) seq * annotationText: #(string seq) seq * [ obj))>] ?Name: string * [ obj))>] ?ShowLegend: bool * [ obj))>] ?Opacity: float * [ obj))>] ?X: 'd seq * [ obj))>] ?MultiX: 'd seq seq * [ obj))>] ?XGap: int * [ obj))>] ?Y: 'e seq * [ obj))>] ?MultiY: 'e seq seq * [ obj))>] ?YGap: int * [ obj))>] ?Text: 'f * [ obj))>] ?MultiText: 'f seq * [ obj))>] ?ColorBar: ColorBar * [ obj))>] ?ColorScale: Colorscale * [ obj))>] ?ShowScale: bool * [ obj))>] ?ReverseScale: bool * [ obj))>] ?ZSmooth: SmoothAlg * [ obj))>] ?Transpose: bool * [ obj))>] ?UseWebGL: bool * [ obj))>] ?ReverseYAxis: bool * [ obj))>] ?UseDefaults: bool -> GenericChart (requires 'b :> IConvertible and 'd :> IConvertible and 'e :> IConvertible and 'f :> IConvertible) + 1 overload static member Area: x: #IConvertible seq * y: #IConvertible seq * [ obj))>] ?ShowMarkers: bool * [ obj))>] ?Name: string * [ obj))>] ?ShowLegend: bool * [ obj))>] ?Opacity: float * [ obj))>] ?MultiOpacity: float seq * [ obj))>] ?Text: 'c * [ obj))>] ?MultiText: 'c seq * [ obj))>] ?TextPosition: TextPosition * [ obj))>] ?MultiTextPosition: TextPosition seq * [ obj))>] ?MarkerColor: Color * [ obj))>] ?MarkerColorScale: Colorscale * [ obj))>] ?MarkerOutline: Line * [ obj))>] ?MarkerSymbol: MarkerSymbol * [ obj))>] ?MultiMarkerSymbol: MarkerSymbol seq * [ obj))>] ?Marker: Marker * [ obj))>] ?LineColor: Color * [ obj))>] ?LineColorScale: Colorscale * [ obj))>] ?LineWidth: float * [ obj))>] ?LineDash: DrawingStyle * [ obj))>] ?Line: Line * [ obj))>] ?AlignmentGroup: string * [ obj))>] ?OffsetGroup: string * [ obj))>] ?StackGroup: string * [ obj))>] ?Orientation: Orientation * [ obj))>] ?GroupNorm: GroupNorm * [ obj))>] ?FillColor: Color * [ obj))>] ?FillPatternShape: PatternShape * [ obj))>] ?FillPattern: Pattern * [ obj))>] ?UseWebGL: bool * [ obj))>] ?UseDefaults: bool -> GenericChart (requires 'c :> IConvertible) + 1 overload static member Bar: values: #IConvertible seq * [ obj))>] ?Keys: 'b seq * [ obj))>] ?MultiKeys: 'b seq seq * [ obj))>] ?Name: string * [ obj))>] ?ShowLegend: bool * [ obj))>] ?Opacity: float * [ obj))>] ?MultiOpacity: float seq * [ obj))>] ?Text: 'c * [ obj))>] ?MultiText: 'c seq * [ obj))>] ?MarkerColor: Color * [ obj))>] ?MarkerColorScale: Colorscale * [ obj))>] ?MarkerOutline: Line * [ obj))>] ?MarkerPatternShape: PatternShape * [ obj))>] ?MultiMarkerPatternShape: PatternShape seq * [ obj))>] ?MarkerPattern: Pattern * [ obj))>] ?Marker: Marker * [ obj))>] ?Base: #IConvertible * [ obj))>] ?Width: 'e * [ obj))>] ?MultiWidth: 'e seq * [ obj))>] ?TextPosition: TextPosition * [ obj))>] ?MultiTextPosition: TextPosition seq * [ obj))>] ?UseDefaults: bool -> GenericChart (requires 'b :> IConvertible and 'c :> IConvertible and 'e :> IConvertible) + 1 overload static member BoxPlot: [ obj))>] ?X: 'a seq * [ obj))>] ?MultiX: 'a seq seq * [ obj))>] ?Y: 'b seq * [ obj))>] ?MultiY: 'b seq seq * [ obj))>] ?Name: string * [ obj))>] ?ShowLegend: bool * [ obj))>] ?Text: 'c * [ obj))>] ?MultiText: 'c seq * [ obj))>] ?FillColor: Color * [ obj))>] ?MarkerColor: Color * [ obj))>] ?Marker: Marker * [ obj))>] ?Opacity: float * [ obj))>] ?WhiskerWidth: float * [ obj))>] ?BoxPoints: BoxPoints * [ obj))>] ?BoxMean: BoxMean * [ obj))>] ?Jitter: float * [ obj))>] ?PointPos: float * [ obj))>] ?Orientation: Orientation * [ obj))>] ?OutlineColor: Color * [ obj))>] ?OutlineWidth: float * [ obj))>] ?Outline: Line * [ obj))>] ?AlignmentGroup: string * [ obj))>] ?OffsetGroup: string * [ obj))>] ?Notched: bool * [ obj))>] ?NotchWidth: float * [ obj))>] ?QuartileMethod: QuartileMethod * [ obj))>] ?SizeMode: BoxSizeMode * [ obj))>] ?UseDefaults: bool -> GenericChart (requires 'a :> IConvertible and 'b :> IConvertible and 'c :> IConvertible) + 2 overloads static member Bubble: x: #IConvertible seq * y: #IConvertible seq * sizes: int seq * [ obj))>] ?Name: string * [ obj))>] ?ShowLegend: bool * [ obj))>] ?Opacity: float * [ obj))>] ?MultiOpacity: float seq * [ obj))>] ?Text: 'c * [ obj))>] ?MultiText: 'c seq * [ obj))>] ?TextPosition: TextPosition * [ obj))>] ?MultiTextPosition: TextPosition seq * [ obj))>] ?MarkerColor: Color * [ obj))>] ?MarkerColorScale: Colorscale * [ obj))>] ?MarkerOutline: Line * [ obj))>] ?MarkerSymbol: MarkerSymbol * [ obj))>] ?MultiMarkerSymbol: MarkerSymbol seq * [ obj))>] ?Marker: Marker * [ obj))>] ?LineColor: Color * [ obj))>] ?LineColorScale: Colorscale * [ obj))>] ?LineWidth: float * [ obj))>] ?LineDash: DrawingStyle * [ obj))>] ?Line: Line * [ obj))>] ?AlignmentGroup: string * [ obj))>] ?OffsetGroup: string * [ obj))>] ?StackGroup: string * [ obj))>] ?Orientation: Orientation * [ obj))>] ?GroupNorm: GroupNorm * [ obj))>] ?UseWebGL: bool * [ obj))>] ?UseDefaults: bool -> GenericChart (requires 'c :> IConvertible) + 1 overload static member Candlestick: ``open`` : #IConvertible seq * high: #IConvertible seq * low: #IConvertible seq * close: #IConvertible seq * [ obj))>] ?X: 'e seq * [ obj))>] ?MultiX: 'e seq seq * [ obj))>] ?Name: string * [ obj))>] ?ShowLegend: bool * [ obj))>] ?Opacity: float * [ obj))>] ?Text: 'f * [ obj))>] ?MultiText: 'f seq * [ obj))>] ?Line: Line * [ obj))>] ?IncreasingColor: Color * [ obj))>] ?Increasing: FinanceMarker * [ obj))>] ?DecreasingColor: Color * [ obj))>] ?Decreasing: FinanceMarker * [ obj))>] ?WhiskerWidth: float * [ obj))>] ?ShowXAxisRangeSlider: bool * [ obj))>] ?UseDefaults: bool -> GenericChart (requires 'e :> IConvertible and 'f :> IConvertible) + 2 overloads static member Column: values: #IConvertible seq * [ obj))>] ?Keys: 'b seq * [ obj))>] ?MultiKeys: 'b seq seq * [ obj))>] ?Name: string * [ obj))>] ?ShowLegend: bool * [ obj))>] ?Opacity: float * [ obj))>] ?MultiOpacity: float seq * [ obj))>] ?Text: 'c * [ obj))>] ?MultiText: 'c seq * [ obj))>] ?MarkerColor: Color * [ obj))>] ?MarkerColorScale: Colorscale * [ obj))>] ?MarkerOutline: Line * [ obj))>] ?MarkerPatternShape: PatternShape * [ obj))>] ?MultiMarkerPatternShape: PatternShape seq * [ obj))>] ?MarkerPattern: Pattern * [ obj))>] ?Marker: Marker * [ obj))>] ?Base: #IConvertible * [ obj))>] ?Width: 'e * [ obj))>] ?MultiWidth: 'e seq * [ obj))>] ?TextPosition: TextPosition * [ obj))>] ?MultiTextPosition: TextPosition seq * [ obj))>] ?UseDefaults: bool -> GenericChart (requires 'b :> IConvertible and 'c :> IConvertible and 'e :> IConvertible) + 1 overload static member Contour: zData: #('b seq) seq * [ obj))>] ?Name: string * [ obj))>] ?ShowLegend: bool * [ obj))>] ?Opacity: float * [ obj))>] ?X: 'c seq * [ obj))>] ?MultiX: 'c seq seq * [ obj))>] ?Y: 'd seq * [ obj))>] ?MultiY: 'd seq seq * [ obj))>] ?Text: 'e * [ obj))>] ?MultiText: 'e seq * [ obj))>] ?ColorBar: ColorBar * [ obj))>] ?ColorScale: Colorscale * [ obj))>] ?ShowScale: bool * [ obj))>] ?ReverseScale: bool * [ obj))>] ?Transpose: bool * [ obj))>] ?ContourLinesColor: Color * [ obj))>] ?ContourLinesDash: DrawingStyle * [ obj))>] ?ContourLinesSmoothing: float * [ obj))>] ?ContourLinesWidth: float * [ obj))>] ?ContourLines: Line * [ obj))>] ?ShowContourLines: bool * [ obj))>] ?ContoursColoring: ContourColoring * [ obj))>] ?ContoursOperation: ConstraintOperation * [ obj))>] ?ContoursType: ContourType * [ obj))>] ?ShowContoursLabels: bool * [ obj))>] ?ContoursLabelFont: Font * [ obj))>] ?ContoursStart: float * [ obj))>] ?ContoursEnd: float * [ obj))>] ?Contours: Contours * [ obj))>] ?FillColor: Color * [ obj))>] ?NContours: int * [ obj))>] ?UseDefaults: bool -> GenericChart (requires 'b :> IConvertible and 'c :> IConvertible and 'd :> IConvertible and 'e :> IConvertible) static member Funnel: x: #IConvertible seq * y: #IConvertible seq * [ obj))>] ?Name: string * [ obj))>] ?ShowLegend: bool * [ obj))>] ?Opacity: float * [ obj))>] ?Width: float * [ obj))>] ?Offset: float * [ obj))>] ?Text: 'c * [ obj))>] ?MultiText: 'c seq * [ obj))>] ?TextPosition: TextPosition * [ obj))>] ?MultiTextPosition: TextPosition seq * [ obj))>] ?Orientation: Orientation * [ obj))>] ?AlignmentGroup: string * [ obj))>] ?OffsetGroup: string * [ obj))>] ?MarkerColor: Color * [ obj))>] ?MarkerOutline: Line * [ obj))>] ?Marker: Marker * [ obj))>] ?TextInfo: TextInfo * [ obj))>] ?ConnectorLineColor: Color * [ obj))>] ?ConnectorLineStyle: DrawingStyle * [ obj))>] ?ConnectorFillColor: Color * [ obj))>] ?ConnectorLine: Line * [ obj))>] ?Connector: FunnelConnector * [ obj))>] ?InsideTextFont: Font * [ obj))>] ?OutsideTextFont: Font * [ obj))>] ?UseDefaults: bool -> GenericChart (requires 'c :> IConvertible) static member Heatmap: zData: #('b seq) seq * [ obj))>] ?X: 'c seq * [ obj))>] ?MultiX: 'c seq seq * [ obj))>] ?Y: 'd seq * [ obj))>] ?MultiY: 'd seq seq * [ obj))>] ?Name: string * [ obj))>] ?ShowLegend: bool * [ obj))>] ?Opacity: float * [ obj))>] ?XGap: int * [ obj))>] ?YGap: int * [ obj))>] ?Text: 'e * [ obj))>] ?MultiText: 'e seq * [ obj))>] ?ColorBar: ColorBar * [ obj))>] ?ColorScale: Colorscale * [ obj))>] ?ShowScale: bool * [ obj))>] ?ReverseScale: bool * [ obj))>] ?ZSmooth: SmoothAlg * [ obj))>] ?Transpose: bool * [ obj))>] ?UseWebGL: bool * [ obj))>] ?ReverseYAxis: bool * [ obj))>] ?UseDefaults: bool -> GenericChart (requires 'b :> IConvertible and 'c :> IConvertible and 'd :> IConvertible and 'e :> IConvertible) + 1 overload ...static member Chart.Point3D: xyz: (#System.IConvertible * #System.IConvertible * #System.IConvertible) seq * [ obj))>] ?Name: string * [ obj))>] ?ShowLegend: bool * [ obj))>] ?Opacity: float * [ obj))>] ?MultiOpacity: float seq * [ obj))>] ?Text: 'd * [ obj))>] ?MultiText: 'd seq * [ obj))>] ?TextPosition: StyleParam.TextPosition * [ obj))>] ?MultiTextPosition: StyleParam.TextPosition seq * [ obj))>] ?MarkerColor: Color * [ obj))>] ?MarkerColorScale: StyleParam.Colorscale * [ obj))>] ?MarkerOutline: Line * [ obj))>] ?MarkerSymbol: StyleParam.MarkerSymbol3D * [ obj))>] ?MultiMarkerSymbol: StyleParam.MarkerSymbol3D seq * [ obj))>] ?Marker: TraceObjects.Marker * [ obj))>] ?CameraProjectionType: StyleParam.CameraProjectionType * [ obj))>] ?Camera: LayoutObjects.Camera * [ obj))>] ?Projection: TraceObjects.Projection * [ obj))>] ?UseDefaults: bool -> GenericChart (requires 'd :> System.IConvertible)static member Chart.Point3D: x: #System.IConvertible seq * y: #System.IConvertible seq * z: #System.IConvertible seq * [ obj))>] ?Name: string * [ obj))>] ?ShowLegend: bool * [ obj))>] ?Opacity: float * [ obj))>] ?MultiOpacity: float seq * [ obj))>] ?Text: 'd * [ obj))>] ?MultiText: 'd seq * [ obj))>] ?TextPosition: StyleParam.TextPosition * [ obj))>] ?MultiTextPosition: StyleParam.TextPosition seq * [ obj))>] ?MarkerColor: Color * [ obj))>] ?MarkerColorScale: StyleParam.Colorscale * [ obj))>] ?MarkerOutline: Line * [ obj))>] ?MarkerSymbol: StyleParam.MarkerSymbol3D * [ obj))>] ?MultiMarkerSymbol: StyleParam.MarkerSymbol3D seq * [ obj))>] ?Marker: TraceObjects.Marker * [ obj))>] ?CameraProjectionType: StyleParam.CameraProjectionType * [ obj))>] ?Camera: LayoutObjects.Camera * [ obj))>] ?Projection: TraceObjects.Projection * [ obj))>] ?UseDefaults: bool -> GenericChart (requires 'd :> System.IConvertible)module StyleParamfrom Plotly.NETtype TextPosition = | TopLeft | TopCenter | TopRight | MiddleLeft | MiddleCenter | MiddleRight | BottomLeft | BottomCenter | BottomRight | Auto ... member Convert: unit -> obj override ToString: unit -> string static member convert: (TextPosition -> obj) static member toString: (TextPosition -> string) Sets the positions of the `text` elements. Note that not all options work for every type of trace, e.g. Pie Charts only support "inside" | "outside" | "auto" | "none" - Cartesian plots: Sets the positions of the `text` elements with respects to the (x,y) coordinates. - Pie Charts and derivatives: Specifies the location of the text with respects to the sector.union case StyleParam.TextPosition.BottomCenter: StyleParam.TextPositionstatic member Chart.withXAxisStyle: [ obj))>] ?TitleText: string * [ obj))>] ?TitleFont: Font * [ obj))>] ?TitleStandoff: int * [ obj))>] ?Title: Title * [ obj))>] ?Color: Color * [ obj))>] ?AxisType: StyleParam.AxisType * [ obj))>] ?MinMax: (#System.IConvertible * #System.IConvertible) * [ obj))>] ?Mirror: StyleParam.Mirror * [ obj))>] ?ShowSpikes: bool * [ obj))>] ?SpikeColor: Color * [ obj))>] ?SpikeThickness: int * [ obj))>] ?ShowLine: bool * [ obj))>] ?LineColor: Color * [ obj))>] ?ShowGrid: bool * [ obj))>] ?GridColor: Color * [ obj))>] ?GridDash: StyleParam.DrawingStyle * [ obj))>] ?ZeroLine: bool * [ obj))>] ?ZeroLineColor: Color * [ obj))>] ?Anchor: StyleParam.LinearAxisId * [ obj))>] ?Side: StyleParam.Side * [ obj))>] ?Overlaying: StyleParam.LinearAxisId * [ obj))>] ?Domain: (float * float) * [ obj))>] ?Position: float * [ obj))>] ?CategoryOrder: StyleParam.CategoryOrder * [ obj))>] ?CategoryArray: #System.IConvertible seq * [ obj))>] ?RangeSlider: LayoutObjects.RangeSlider * [ obj))>] ?RangeSelector: LayoutObjects.RangeSelector * [ obj))>] ?BackgroundColor: Color * [ obj))>] ?ShowBackground: bool * [ obj))>] ?Id: StyleParam.SubPlotId -> (GenericChart -> GenericChart)type SubPlotId = | XAxis of int | YAxis of int | ZAxis | ColorAxis of int | Geo of int | Mapbox of int | Polar of int | Ternary of int | Scene of int | Carpet of string ... member Convert: unit -> obj override ToString: unit -> string static member isValidColorAxisId: id: string -> bool static member isValidGeoId: id: string -> bool static member isValidLegendId: id: string -> bool static member isValidMapboxId: id: string -> bool static member isValidPolarId: id: string -> bool static member isValidSceneId: id: string -> bool static member isValidSmithId: id: string -> bool static member isValidTernaryId: id: string -> bool ...union case StyleParam.SubPlotId.Scene: int -> StyleParam.SubPlotIdstatic member Chart.withYAxisStyle: [ obj))>] ?TitleText: string * [ obj))>] ?TitleFont: Font * [ obj))>] ?TitleStandoff: int * [ obj))>] ?Title: Title * [ obj))>] ?Color: Color * [ obj))>] ?AxisType: StyleParam.AxisType * [ obj))>] ?MinMax: (#System.IConvertible * #System.IConvertible) * [ obj))>] ?Mirror: StyleParam.Mirror * [ obj))>] ?ShowSpikes: bool * [ obj))>] ?SpikeColor: Color * [ obj))>] ?SpikeThickness: int * [ obj))>] ?ShowLine: bool * [ obj))>] ?LineColor: Color * [ obj))>] ?ShowGrid: bool * [ obj))>] ?GridColor: Color * [ obj))>] ?GridDash: StyleParam.DrawingStyle * [ obj))>] ?ZeroLine: bool * [ obj))>] ?ZeroLineColor: Color * [ obj))>] ?Anchor: StyleParam.LinearAxisId * [ obj))>] ?Side: StyleParam.Side * [ obj))>] ?Overlaying: StyleParam.LinearAxisId * [ obj))>] ?AutoShift: bool * [ obj))>] ?Shift: int * [ obj))>] ?Domain: (float * float) * [ obj))>] ?Position: float * [ obj))>] ?CategoryOrder: StyleParam.CategoryOrder * [ obj))>] ?CategoryArray: #System.IConvertible seq * [ obj))>] ?RangeSlider: LayoutObjects.RangeSlider * [ obj))>] ?RangeSelector: LayoutObjects.RangeSelector * [ obj))>] ?BackgroundColor: Color * [ obj))>] ?ShowBackground: bool * [ obj))>] ?Id: StyleParam.SubPlotId -> (GenericChart -> GenericChart)static member Chart.withZAxisStyle: [ obj))>] ?TitleText: string * [ obj))>] ?TitleFont: Font * [ obj))>] ?TitleStandoff: int * [ obj))>] ?Title: Title * [ obj))>] ?Color: Color * [ obj))>] ?AxisType: StyleParam.AxisType * [ obj))>] ?MinMax: (#System.IConvertible * #System.IConvertible) * [ obj))>] ?Mirror: StyleParam.Mirror * [ obj))>] ?ShowSpikes: bool * [ obj))>] ?SpikeColor: Color * [ obj))>] ?SpikeThickness: int * [ obj))>] ?ShowLine: bool * [ obj))>] ?LineColor: Color * [ obj))>] ?ShowGrid: bool * [ obj))>] ?GridColor: Color * [ obj))>] ?ZeroLine: bool * [ obj))>] ?ZeroLineColor: Color * [ obj))>] ?Anchor: StyleParam.LinearAxisId * [ obj))>] ?Side: StyleParam.Side * [ obj))>] ?Overlaying: StyleParam.LinearAxisId * [ obj))>] ?Domain: (float * float) * [ obj))>] ?Position: float * [ obj))>] ?CategoryOrder: StyleParam.CategoryOrder * [ obj))>] ?CategoryArray: #System.IConvertible seq * [ obj))>] ?RangeSlider: LayoutObjects.RangeSlider * [ obj))>] ?RangeSelector: LayoutObjects.RangeSelector * [ obj))>] ?BackgroundColor: Color * [ obj))>] ?ShowBackground: bool * [ obj))>] ?Id: int -> (GenericChart -> GenericChart)static member Chart.withSize: width: float * height: float -> (GenericChart -> GenericChart)static member Chart.withSize: [ obj))>] ?Width: int * [ obj))>] ?Height: int -> (GenericChart -> GenericChart)type GenericChart = | Chart of data: Trace * layout: Layout * config: Config * displayOpts: DisplayOptions | MultiChart of data: Trace list * layout: Layout * config: Config * displayOpts: DisplayOptions static member addConfig: config: Config -> gChart: GenericChart -> GenericChart static member addDisplayOptions: displayOpts: DisplayOptions -> gChart: GenericChart -> GenericChart static member addLayout: layout: Layout -> gChart: GenericChart -> GenericChart static member combine: gCharts: GenericChart seq -> GenericChart static member countTrace: gChart: GenericChart -> int static member existsTrace: predicate: (Trace -> bool) -> gChart: GenericChart -> bool static member fromChartDTO: dto: ChartDTO -> GenericChart static member fromFigure: fig: Figure -> GenericChart static member getConfig: gChart: GenericChart -> Config static member getDisplayOptions: gChart: GenericChart -> DisplayOptions ... The central type that gets created by all Chart constructors is GenericChart, which itself represents either a single chart or a multi chart (as a Discriminate Union type).A GenericChart consists of four top level objects: Trace (multiple of those in the case of a MultiChart), Layout, Config, and DisplayOptions.- `Trace` is in principle the representation of a dataset on a chart, including for example the data itself, color and shape of the visualization, etc. - `Layout` is everything of the chart that is not dataset specific - e.g. the shape and style of axes, the chart title, etc. - `Config` is an object that configures high level properties of the chart like making all chart elements editable or the tool bar on top - `DisplayOptions` is an object that contains meta information about how the html document that contains the chart.static member GenericChart.toChartHTML: gChart: GenericChart -> stringval point3d2: GenericCharttype Color = override Equals: other: obj -> bool override GetHashCode: unit -> int static member fromARGB: a: int -> r: int -> g: int -> b: int -> Color static member fromColorScaleValues: c: #IConvertible seq -> Color static member fromColors: c: Color seq -> Color static member fromHex: s: string -> Color static member fromKeyword: c: ColorKeyword -> Color static member fromRGB: r: int -> g: int -> b: int -> Color static member fromString: c: string -> Color member Value: obj Plotly color can be a single color, a sequence of colors, or a sequence of numeric values referencing the color of the colorscale objstatic member Color.fromColorScaleValues: c: #System.IConvertible seq -> Colorval line3d: GenericChartstatic member Chart.Line3D: xyz: (#System.IConvertible * #System.IConvertible * #System.IConvertible) seq * [ obj))>] ?ShowMarkers: bool * [ obj))>] ?Name: string * [ obj))>] ?ShowLegend: bool * [ obj))>] ?Opacity: float * [ obj))>] ?MultiOpacity: float seq * [ obj))>] ?Text: 'd * [ obj))>] ?MultiText: 'd seq * [ obj))>] ?TextPosition: StyleParam.TextPosition * [ obj))>] ?MultiTextPosition: StyleParam.TextPosition seq * [ obj))>] ?MarkerColor: Color * [ obj))>] ?MarkerColorScale: StyleParam.Colorscale * [ obj))>] ?MarkerOutline: Line * [ obj))>] ?MarkerSymbol: StyleParam.MarkerSymbol3D * [ obj))>] ?MultiMarkerSymbol: StyleParam.MarkerSymbol3D seq * [ obj))>] ?Marker: TraceObjects.Marker * [ obj))>] ?LineColor: Color * [ obj))>] ?LineColorScale: StyleParam.Colorscale * [ obj))>] ?LineWidth: float * [ obj))>] ?LineDash: StyleParam.DrawingStyle * [ obj))>] ?Line: Line * [ obj))>] ?CameraProjectionType: StyleParam.CameraProjectionType * [ obj))>] ?Camera: LayoutObjects.Camera * [ obj))>] ?Projection: TraceObjects.Projection * [ obj))>] ?UseDefaults: bool -> GenericChart (requires 'd :> System.IConvertible)static member Chart.Line3D: x: #System.IConvertible seq * y: #System.IConvertible seq * z: #System.IConvertible seq * [ obj))>] ?ShowMarkers: bool * [ obj))>] ?Name: string * [ obj))>] ?ShowLegend: bool * [ obj))>] ?Opacity: float * [ obj))>] ?MultiOpacity: float seq * [ obj))>] ?Text: 'd * [ obj))>] ?MultiText: 'd seq * [ obj))>] ?TextPosition: StyleParam.TextPosition * [ obj))>] ?MultiTextPosition: StyleParam.TextPosition seq * [ obj))>] ?MarkerColor: Color * [ obj))>] ?MarkerColorScale: StyleParam.Colorscale * [ obj))>] ?MarkerOutline: Line * [ obj))>] ?MarkerSymbol: StyleParam.MarkerSymbol3D * [ obj))>] ?MultiMarkerSymbol: StyleParam.MarkerSymbol3D seq * [ obj))>] ?Marker: TraceObjects.Marker * [ obj))>] ?LineColor: Color * [ obj))>] ?LineColorScale: StyleParam.Colorscale * [ obj))>] ?LineWidth: float * [ obj))>] ?LineDash: StyleParam.DrawingStyle * [ obj))>] ?Line: Line * [ obj))>] ?CameraProjectionType: StyleParam.CameraProjectionType * [ obj))>] ?Camera: LayoutObjects.Camera * [ obj))>] ?Projection: TraceObjects.Projection * [ obj))>] ?UseDefaults: bool -> GenericChart (requires 'd :> System.IConvertible)val line3d2: GenericChartval bubble3d: GenericChartstatic member Chart.Bubble3D: xyzsizes: (#System.IConvertible * #System.IConvertible * #System.IConvertible * int) seq * [ obj))>] ?Name: string * [ obj))>] ?ShowLegend: bool * [ obj))>] ?Opacity: float * [ obj))>] ?MultiOpacity: float seq * [ obj))>] ?Text: 'd * [ obj))>] ?MultiText: 'd seq * [ obj))>] ?TextPosition: StyleParam.TextPosition * [ obj))>] ?MultiTextPosition: StyleParam.TextPosition seq * [ obj))>] ?MarkerColor: Color * [ obj))>] ?MarkerColorScale: StyleParam.Colorscale * [ obj))>] ?MarkerOutline: Line * [ obj))>] ?MarkerSymbol: StyleParam.MarkerSymbol3D * [ obj))>] ?MultiMarkerSymbol: StyleParam.MarkerSymbol3D seq * [ obj))>] ?Marker: TraceObjects.Marker * [ obj))>] ?CameraProjectionType: StyleParam.CameraProjectionType * [ obj))>] ?Camera: LayoutObjects.Camera * [ obj))>] ?Projection: TraceObjects.Projection * [ obj))>] ?UseDefaults: bool -> GenericChart (requires 'd :> System.IConvertible)static member Chart.Bubble3D: xyz: (#System.IConvertible * #System.IConvertible * #System.IConvertible) seq * sizes: int seq * [ obj))>] ?Name: string * [ obj))>] ?ShowLegend: bool * [ obj))>] ?Opacity: float * [ obj))>] ?MultiOpacity: float seq * [ obj))>] ?Text: 'd * [ obj))>] ?MultiText: 'd seq * [ obj))>] ?TextPosition: StyleParam.TextPosition * [ obj))>] ?MultiTextPosition: StyleParam.TextPosition seq * [ obj))>] ?MarkerColor: Color * [ obj))>] ?MarkerColorScale: StyleParam.Colorscale * [ obj))>] ?MarkerOutline: Line * [ obj))>] ?MarkerSymbol: StyleParam.MarkerSymbol3D * [ obj))>] ?MultiMarkerSymbol: StyleParam.MarkerSymbol3D seq * [ obj))>] ?Marker: TraceObjects.Marker * [ obj))>] ?CameraProjectionType: StyleParam.CameraProjectionType * [ obj))>] ?Camera: LayoutObjects.Camera * [ obj))>] ?Projection: TraceObjects.Projection * [ obj))>] ?UseDefaults: bool -> GenericChart (requires 'd :> System.IConvertible)static member Chart.Bubble3D: x: #System.IConvertible seq * y: #System.IConvertible seq * z: #System.IConvertible seq * sizes: int seq * [ obj))>] ?Name: string * [ obj))>] ?ShowLegend: bool * [ obj))>] ?Opacity: float * [ obj))>] ?MultiOpacity: float seq * [ obj))>] ?Text: 'd * [ obj))>] ?MultiText: 'd seq * [ obj))>] ?TextPosition: StyleParam.TextPosition * [ obj))>] ?MultiTextPosition: StyleParam.TextPosition seq * [ obj))>] ?MarkerColor: Color * [ obj))>] ?MarkerColorScale: StyleParam.Colorscale * [ obj))>] ?MarkerOutline: Line * [ obj))>] ?MarkerSymbol: StyleParam.MarkerSymbol3D * [ obj))>] ?MultiMarkerSymbol: StyleParam.MarkerSymbol3D seq * [ obj))>] ?Marker: TraceObjects.Marker * [ obj))>] ?CameraProjectionType: StyleParam.CameraProjectionType * [ obj))>] ?Camera: LayoutObjects.Camera * [ obj))>] ?Projection: TraceObjects.Projection * [ obj))>] ?UseDefaults: bool -> GenericChart (requires 'd :> System.IConvertible)val bubble3d2: GenericCharttype Colorscale = | Custom of (float * Color) seq | RdBu | Earth | Blackbody | YIOrRd | YIGnBu | Bluered | Portland | Electric | Jet ... member Convert: unit -> obj static member convert: (Colorscale -> obj) The colorscale must be a collection containing a mapping of a normalized value (between 0.0 and 1.0) to it's color. At minimum, a mapping for the lowest (0.0) and highest (1.0) values are required.union case StyleParam.Colorscale.Viridis: StyleParam.Colorscale

相关推荐: